package com.alibaba.cirtus.ots.application.adapter.ability.model.enums;

public enum MnNykChannelEnum {

    YONG_HUI("yonghui","永辉"),

    HUA_RUN("vanguard","华润"),

    GAO_XIN("rtmart","高新"),

    WO_ER_MA("walmart","沃尔玛"),

    WO_ER_MA_SONG_DIAN("walmDelivery","沃尔玛送店"),

    REN_REN_LE("renrenle","人人乐"),

    HE_MA("freshhema","盒马"),

    LV_DI("gsuper","绿地"),

    BAI_LIAN("blmart","百联"),

    MAI_DE_LONG("metro","麦德龙");



    /**
     * 状态值
     */
    private String code;

    /**
     * 类型描述
     */
    private String value;

    private MnNykChannelEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }
    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public static MnNykChannelEnum getValueOf(String code) {
        for (MnNykChannelEnum type : MnNykChannelEnum.values()) {
            if (code.equals(type.getCode())) {
                return type;
            }
        }
        return null;
    }
    public static void main(String[] args) {
        System.out.println(MnNykChannelEnum.LV_DI.getValue());
    }




}
